import React from 'react';
import ReactDOM from 'react-dom';
import { BrowserRouter as Router, Switch, Route } from 'react-router-dom';

// 组件样式
import 'react-fule-ui/build/index.css';

import { Home } from './pages';
// 业务样式
import './styles/index.scss';
const envurl = process.env.PUBLIC_URL;
ReactDOM.render(
  <React.StrictMode>
    <Router>
      <Switch>
        <Route path={envurl} component={Home} exact />
      </Switch>
    </Router>
  </React.StrictMode>,
  document.getElementById('root')
);
